﻿/**
 * ...
 * @author sminutoli
 */
import com.dmotiko.meip.*
import com.dmotiko.general.*
import com.dmotiko.util.*

class com.dmotiko.meip.WorksLoader extends com.dmotiko.general.DataXMLLoader
{
	
	private function parserFunction(){
		var nodes:Array = xml.firstChild.childNodes;
		var oWorks:Object = XMLUtils.node2object( xml.firstChild );
		this.data = new Object();
		for (var i:Number = 0; i < oWorks.work.length; i++) {
			this.data[ oWorks.work[i].id ] = oWorks.work[i];
		}
		loadEnd();
	}
	
}